import {createRouter, createWebHashHistory} from 'vue-router'

import Dugou from '../components/Dugou.vue'
import Dugou2 from '../components/Dugou2.vue'


const router = createRouter({
        history: createWebHashHistory(),
        routes: [
            {
                path: '/app1',
                name: '1',
                component: Dugou
            },
            {
                path: '/app2',
                name: '2',
                component: Dugou2
            },
            {
                path: '/',
                redirect: '/app1'
            }
        ]
    }
)
export default router